<include file="Public/min-header"/>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title">拒绝会员购买激活码</h3>
                        <a href="{:U('bank/money5_list')}" data-toggle="tooltip" title="" class="btn btn-default pull-right" data-original-title="返回"><i class="fa fa-reply"></i></a>
                    </div>
                    <form class="form-horizontal" id="add_post" method="post">
                        <input type="hidden" name="id" value="{$id}" />
                        <div class="box-body">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">拒绝理由</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" name="note" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-sm-2"></label>
                                <div class="col-sm-2">
                                    <!-- <button type="reset" class="btn btn-default">重置</button> -->
                                    <button type="button"  onclick="checkForm()" class="btn btn-info pull-right">提交</button>
                                </div>
                            </div>
                        </div>
                        <div class="box-footer row"></div>
                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
<script type="text/javascript">

    function checkForm(){
        if($('input[name="note"]').val() == ''){
            alert("请输入拒绝理由");
            return false;
        }
        $('#add_post').submit();
    }
</script>
</body>
</html>